package com.abe.mvp.model.bean;

import com.abe.utils.JsonHelper;
import com.google.gson.annotations.Expose;

public class DeviceBean {
	@Expose
	private boolean isDeviceStart;
	@Expose
	private boolean isDeviceSafe;
	@Expose
	private boolean isFanStart;
	@Expose
	private float speed;
	@Expose
	private int slope;
	@Expose
	private int bpm;

	public boolean isDeviceStart() {
		return isDeviceStart;
	}

	public void setDeviceStart(boolean isDeviceStart) {
		this.isDeviceStart = isDeviceStart;
	}

	public boolean isDeviceSafe() {
		return isDeviceSafe;
	}

	public void setDeviceSafe(boolean isDeviceSafe) {
		this.isDeviceSafe = isDeviceSafe;
	}

	public boolean isFanStart() {
		return isFanStart;
	}

	public void setFanStart(boolean isFanStart) {
		this.isFanStart = isFanStart;
	}

	public float getSpeed() {
		return speed;
	}

	public void setSpeed(float speed) {
		this.speed = speed;
	}

	public int getSlope() {
		return slope;
	}

	public void setSlope(int slope) {
		this.slope = slope;
	}

	public int getBpm() {
		return bpm;
	}

	public void setBpm(int bpm) {
		this.bpm = bpm;
	}

	public String toString(){
		return JsonHelper.toJson(this);
	}
}
